package com.google.code.openperfmon.service;

import com.google.code.openperfmon.domain.AbstractEntity;

public class AdminEntityInfo<T extends AbstractEntity> {
	private T entity;
	private boolean canDelete;
	private int refCount;
	
	public AdminEntityInfo(T entity, boolean canDelete) {
		super();
		this.canDelete = canDelete;
		this.entity = entity;
	}
	public T getEntity() {
		return entity;
	}
	public void setEntity(T entity) {
		this.entity = entity;
	}
	public boolean isCanDelete() {
		return canDelete;
	}
	public void setCanDelete(boolean canDelete) {
		this.canDelete = canDelete;
	}
	public int getRefCount() {
		return refCount;
	}
	public void setRefCount(int refCount) {
		this.refCount = refCount;
	}
}
